﻿using FreeSql.DataAnnotations;
using Syspetro.Core.DbAccessor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BJ.AuthEntity.Models
{
    /// <summary>
    /// 用户账号
    /// </summary>
    public class AdminUserAuth : EntityBase
    {
        /// <summary>
        /// 账号注册类型
        /// </summary>
        public AccountType AccountType { get; set; }
        /// <summary>
        /// 用户信息
        /// </summary>
        public AdminUser User { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string Account { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 最近一次的登录时间
        /// </summary>
        public DateTime LoginTime { get; set; }
    }
}
